﻿using System;

namespace Borg.AttributeAnalyze
{
    [Serializable]
    public class MSBuildResultExt : MSBuildResultBase
    {
        public override string ToString()
        {
            return string.Format(
                "#{0}\r\nfile: {1}\r\nline: {2} - {3}\r\ncolumn: {4} - {5}\r\nsubcategory: {6}\r\ndescription: {7}\r\n",
                new object[] { Count, File, LineStart, LineEnd, ColumnStart, ColumnEnd, SubCategory, Description });
        }

        public int ColumnEnd { get; set; }
        public int ColumnStart { get; set; }

        public int LineEnd { get; set; }
        public int LineStart { get; set; }
    }
}

